{% extends "base.html" %}

{% block title %}Ops Waiting List{% endblock %}
{% block heading %}Ops Waiting List{% endblock %}

{% block leftmenu %}
	<a href='/pages?page=join_waitinglist'>Add to list</a><br/>
{% endblock %}

{% block content %}
				
		<table border='0'>
			<tr class="standard">
				<th align='left'>Pilot</th>
				<th align='left'>Waiting since</th>
				<th align='left'>Location</th>
				<th align='left'>Capability</th>
			</tr>

		{% for pilot in waiting_list %}
			<tr class="{% cycle odd,even%}">
				<td>{{pilot.pilot_name}}</td>
				<td>{{pilot.waiting_since|date:"H:i, j F"}}</td>
				<td>{{pilot.location}}</td>
				<td>{{pilot.capability}}</td>
			</tr>
		{% endfor %}

		</table>

{% endblock %}
